package com.ddwl.schema.vo.goods;

import com.ddwl.schema.vo.base.BaseVo;
import com.ddwl.schema.vo.shop.ShopVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2021/6/25 17:34
 */
@Setter
@Getter
public class ItemAgentVo extends BaseVo {

    @ApiModelProperty("id")
    private String id;
    @ApiModelProperty("商品ID")
    private String itemId;
    @ApiModelProperty("商户ID")
    private String mchId;
    @ApiModelProperty("店铺ID")
    private String shopId;
    @ApiModelProperty("状态 0失效 1生效")
    private Integer status;
    @ApiModelProperty("生效时间")
    private Instant beginTime;
    @ApiModelProperty("失效时间")
    private Instant expireTime;
    @ApiModelProperty("小程序码")
    private String wxaCode;
    @ApiModelProperty("商品信息")
    private ItemVo item;
    @ApiModelProperty("代理店铺信息")
    private ShopVo shop;
}
